package pojo

// UserInfo 用户信息
type UserInfo struct {
	Account  string `json:"account" gorm:"column:account;	VARCHAR ( 20 );NOT NULL"`
	Email    string `json:"email" gorm:"column:email;	VARCHAR ( 20 );NOT NULL;UNI	QUE"`
	Name     string `json:"name" gorm:"column:name;		VARCHAR ( 20 );NOT NULL"`
	Password string `json:"password" gorm:"column:password;	VARCHAR ( 50 );NOT NULL"`
}

type FriendLink struct {
	Account1 string `json:"account1" gorm:"account1;VARCHAR ( 20 ) NOT NULL;"`
	Account2 string `json:"account2" gorm:"account2;VARCHAR ( 20 ) NOT NULL;"`
	Name     string `json:"name" gorm:"name;VARCHAR ( 20 ) NOT NULL;"`
}
